package com.unytech.project.entity.torrents.baseinfo;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.unytech.project.entity.torrents.CommonEntity;

/**
 * 水位监测站极值表
 * @author DolphinBoy
 * 记录水位监测站极值信息
 */
@Entity @Table(name="ST_ZExtremum_B")
public class ST_ZExtremum_B extends CommonEntity {
	/** 水位监测站代码 */
	@Id @Column(name="STCD", length=8, nullable=false)
	private String stcd;
	
	/** 调查最高水位 */
	@Column(name="Ihz", precision=8, scale=3)
	private BigDecimal surveylevel;

	/** 调查最高水位发生时间 */
	@Column(name="Ihztime")
	private Date surveyleveltime;
	
	/** 实测最高水位 */
	@Column(name="Thz", precision=8, scale=3)
	private BigDecimal actuallevel;
	
	/** 实测最高水位发生时间 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="Thztime")
	private Date actualleveltime;
}
